#pragma once
#include "pch.h"

#include "Direct3DApplication.h"

using namespace Windows::ApplicationModel::Core;
using namespace Windows::UI::Core;
using namespace Platform;
using namespace Windows::ApplicationModel::Activation;
using namespace Windows::Foundation;

ref class DirectXView sealed : public IFrameworkView
{
public:
	virtual void Initialize(CoreApplicationView^ applicationView);
	void OnActivated(CoreApplicationView^ applicationView, IActivatedEventArgs^ args);
	virtual void Load(String^ entryPoint);
	virtual void Run();
	virtual void SetWindow(CoreWindow^ window);
	virtual void Uninitialize();

protected private:
	CoreWindow^ coreWindow;
	Direct3DApplication^ application;
};